import request from '@/utils/request';

export function listData(query) {
  return request({
    url: `/user-manager/user-auth${query}`,
    method: 'get',
  });
}

export function postData(id,form) {
  return request({
    url: `/user-manager/user-auth/single/check/${id}`,
    method: 'post',
    data:form
  });
}

export function deleteData(id) {
  return request({
    url: `/user-manager/user-auth/single/cancel/${id}`,
    method: 'post',
  });
}